package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

/**
 * 体检预约服务接口
 */
public interface OrderService {

    //体检预约
    public Result order(Map map) throws Exception;

    //根据id查询预约信息，包括体检人信息、套餐信息
    public Map findById(Integer id) throws Exception;

    List<Map> queryAppointmentRecord(String telephone, String startDate, String endDate);

    List<Map> queryMyAllOrder(String telephone);

    Setmeal queryMyMessage(Integer id);
}
